package com.wing.enterprise.area.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 区域表
 * </p>
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class Area extends Model<Area> implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/**
	 * 区域名称
	 */
	@TableField("areaname")
	private String areaname;

	/**
	 * 父级ID
	 */
	@TableField("parentid")
	private String parentid;

	/**
	 * 经度
	 */
	@TableField("lng")
	private String lng;

	/**
	 * 纬度
	 */
	@TableField("lat")
	private String lat;

	@TableField("qqlng")
	private String qqlng;

	@TableField("qqlat")
	private String qqlat;

	@TableField("level")
	private Integer level;

	@TableField("position")
	private String position;

	@TableField("sort")
	private Integer sort;

	@TableField("fullname")
	private String fullname;



}